package com.dailygreetings.dailygreetings.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @BelongsProject: daily-greetings
 * @BelongsPackage: com.dailygreetings.dailygreetings.config
 * @Author: shanzhengfei
 * @CreateTime: 2024-11-21  17:29
 * @Description: 发送请求的RestTemplate
 * @Version: 1.0
 */

@Configuration
public class AppConfig {

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
